     //基础资料供应商性质 F7表单
   function getSuppliersNatureGrid(checkbox) {
       var options = {
    		   url:"/suppliersNature/listData",
			  // id:'test',
			   columns: [
	                { display: "供应商性质编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "供应商性质名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };  
     //基础资料基本计量单位 F7表单
   function getBaseUnitMeasureGrid(checkbox) {
       var options = {
    		   url:"/baseUnitMeasure/listData",
			  // id:'test',
			   columns: [
	                { display: "计量单位编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "计量单位名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
   //获取辅助计量单位
   function getfUnitMeasureGrid(checkbox) {
       var options = {
    		   url:"/material/listEntryData",
			  // id:'test',
			   columns: [
	                { display: "计量单位名称", name: "baseUnitMeasure.name",  type: "text" ,align: 'left'}, 
	                { display: "换算率", name: "conversionRate",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
   
   //基础资料商品分类F7表单
   function getCategoriesGrid(checkbox) {
       var options = {
    		   url:"/categories/listData",
			  // id:'test',
			   columns: [
	                { display: "商品分类编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "商品分类名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                 sortName:'number',
                sortOrder :'asc',
                onSelectRow :function(rowdata, rowid, rowobj){
                	if(!rowdata.leaf){
                		this.unselect(rowdata);
                	}
                },
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
   
     //基础资料供应商分类F7表单
   function getSupplierClassificationGrid(checkbox) {
       var options = {
    		   url:"/supplierClassification/listData",
			  // id:'test',
			   columns: [
	                { display: "供应商分类编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "供应商分类名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                sortName:'number',
                sortOrder :'asc',
                onSelectRow :function(rowdata, rowid, rowobj){
                	if(!rowdata.leaf){
                		this.unselect(rowdata);
                	}
                },
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
   //基础资料开户银行F7表单
   function getBankGrid(checkbox) {
       var options = {
    		   url:"/bank/listData",
			  // id:'test',
			   columns: [
	                { display: "银行编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "银行名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   }
   //基础资料币别F7表单
   function getCurrencyGrid(checkbox) {
       var options = {
    		   url:"/currency/listData",
			  // id:'test',
			   columns: [
	                { display: "币别编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "币别名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   //基础资料主承运方F7表单
   function getMainResponsibleTransportCoGrid(checkbox) {
       var options = {
    		   url:"/mainResponsibleTransportCo/listData",
			  // id:'test',
			   columns: [
	                { display: "承运方编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "承运方名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   //基础资料运输方式F7表单
   function getTransportModeGrid(checkbox) {
       var options = {
    		   url:"/transportMode/listData",
			  // id:'test',
			   columns: [
	                { display: "运输方式编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "运输方式名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   //基础资料仓库F7表单
   function getWarehouseGrid(checkbox) {
       var options = {
    		   url:"/warehouse/listData",
			  // id:'test',
			   columns: [
	                { display: "仓库编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "仓库名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   //基础资料客户分类F7表单
   function getCustomerClassificationGrid(checkbox) {
       var options = {
    		   url:"/customerClassification/listData",
			  // id:'test',
			   columns: [
	                { display: "客户分类编号", name: "number",  type: "text" ,align: 'left'}, 
	                { display: "客户分类名称", name: "name",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                sortName:'number',
                sortOrder :'asc',
                onSelectRow :function(rowdata, rowid, rowobj){
                	if(!rowdata.leaf){
                		this.unselect(rowdata);
                	}
                },
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
  //用户F7表单
   function getSysUserGrid(checkbox) {
       var options = {
    		   url:"/sysUser/listData",
			  // id:'test',
			   columns: [
	                { display: "用户名", name: "userName",  type: "text" ,align: 'left'}, 
	                { display: "真实名", name: "trueName",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                /*onSelectRow: function (rowdata, rowindex){
                   console.log(rowdata);
                },*/
                autoFilter:true,
                alternatingRow: false
                
       };
       return options;
   };
   
   //商品F7表单
   function getMaterialGrid(checkbox) {
	   var options = {
    		   url:"/material/listData",
			   columns: [
	                { display: "商品名称", name: "name",  type: "text" ,align: 'left'}, 
	                { display: "商品编号", name: "number",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
      //部门F7表单
   function getDepGroupGrid(checkbox) {
	   var options = {
    		   url:"/sysDepGroup/listData",
			   columns: [
	                { display: "公司名称", name: "name",  type: "text" ,align: 'left'}, 
	                { display: "公司编号", name: "number",  type: "text" ,align: 'left'},
	                { display: "是否为子节点", name: "leaf",  type: "text" ,align: 'left',
	                render: function (item)
                     {
                         if (item.leaf==true) return '是';
                         return '否';
                     }}
                ],
                sortName:'number',
                sortOrder :'asc'
                , width: '100%', height: '97%',
                onSelectRow :function(rowdata, rowid, rowobj){
                	if(!rowdata.leaf){
                		this.unselect(rowdata);
                	}
                },
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
   //供应商F7
   function getSupplierGrid(checkbox) {
	   var options = {
    		   url:"/supplier/listData",
			   columns: [
	                { display: "供应商名称", name: "name",  type: "text" ,align: 'left'}, 
	                { display: "供应商编码", name: "number",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
   //客户F7
   function getCustomerGrid(checkbox) {
	   var options = {
    		   url:"/customer/listData",
			   columns: [
	                { display: "客户名称", name: "name",  type: "text" ,align: 'left'}, 
	                { display: "客户编码", name: "number",  type: "text" ,align: 'left'}
                ], width: '100%', height: '97%',
                autoFilter:true,
                alternatingRow: false
       };
       return options;
   };
   
   //销售订单F7
   function getSaleOrderGrid(checkbox) {
	   var options = {
    		   url:"/saleOrder/listEntryData",
			   columns: [
					{ display: "销售订单编码", name: "uuid", width: 100,newline: false, type: "popup",textField:"saleOrder.number"},     
		            { display: "商品名称", name: "material.name",  type: "text"},
	                { display: "商品编码", name: "material.uuid",  type: "popup" ,textField:'material.number'}

                ], width: '100%', height: '97%',
                autoFilter:true,
                alternatingRow:false,
                checkbox: checkbox
       };
       return options;
   };
   
   //采购订单F7
   function getPurOrderGrid(checkbox) {
	   var options = {
    		   url:"/purOrder/listEntryData",
			   columns: [
					{ display: "采购订单编码", name: "uuid", width: 100,newline: false, type: "popup",textField:"purOrder.number"},   
	                { display: "商品名称", name: "material.name",  type: "text"},
	                { display: "商品编码", name: "material.uuid",  type: "popup" ,textField:'material.number'}
                ], width: '100%', height: '97%',
                autoFilter:true,
                alternatingRow: false,
                checkbox: checkbox
       };
       return options;
   };
   
 //发运单F7
   function getDispatchGrid(checkbox) {
	   var options = {
    		   url:"/dispatch/ListEntryData",
			   columns: [
					{ display: "发运单编码", name: "uuid", width: 100,newline: false, type: "popup",textField:"dispatch.number"},   
	                { display: "商品名称", name: "material.name",  type: "text"},
	                { display: "商品编码", name: "material.uuid",  type: "popup" ,textField:'material.number'}
                ], width: '100%', height: '97%',
                autoFilter:true,
                alternatingRow: false,
                checkbox: checkbox
       };
       return options;
   };

   
 